<!-- 局部刷新的空白组件 -->
<template></template>

<script setup>
import { useRouter, useRoute } from "vue-router";

const router = useRouter();
const route = useRoute();

// 如果是来自歌单的切换路由
if (
  route.params.urlName == "songListInfo"
) {
  router.push({
    name: route.params.urlName,
  });
} else {
  router.go(-1);
}
</script>
<style lang='less'>
</style>